﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.XtraEditors;
using System.ComponentModel;

namespace MM.Common.UI.Controls
{
    public class UCTitleControlBase : XtraUserControl
    {
        // Fields
        private IContainer components;

        // Methods
        public UCTitleControlBase()
        {
            this.InitializeComponent();
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        public virtual bool Init(string parm)
        {
            return true;
        }

        private void InitializeComponent()
        {
            this.components = new Container();
            base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
        }
    }
}
